<%@ include file="/taglibs.jsp"%>

<head>
    <title><fmt:message key="orderShippingInfoList.title"/></title>
    <meta name="heading" content="<fmt:message key='orderShippingInfoList.heading'/>"/>
    <meta name="menu" content="OrderShippingInfoMenu"/>
</head>

<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editOrderShippingInfo"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<display:table name="orderShippingInfos" class="table" requestURI="" id="orderShippingInfoList" export="true" pagesize="25">
    <display:column property="id" sortable="true" href="editOrderShippingInfo" media="html"
        paramId="id" paramProperty="id" titleKey="orderShippingInfo.id"/>
    <display:column property="id" media="csv excel xml pdf" titleKey="orderShippingInfo.id"/>
    <display:column property="expectDate" sortable="true" titleKey="orderShippingInfo.expectDate"/>
    <display:column property="expectTime" sortable="true" titleKey="orderShippingInfo.expectTime"/>
    <display:column property="status" sortable="true" titleKey="orderShippingInfo.status"/>
    <display:column property="order.id" sortable="true" titleKey="orderShippingInfo.order.id"/>
    <display:column property="shippingMethod.id" sortable="true" titleKey="orderShippingInfo.shippingMethod.id"/>

    <display:setProperty name="paging.banner.item_name"><fmt:message key="orderShippingInfoList.orderShippingInfo"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="orderShippingInfoList.orderShippingInfos"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="orderShippingInfoList.title"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="orderShippingInfoList.title"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="orderShippingInfoList.title"/>.pdf</display:setProperty>
</display:table>

<input type="button" style="margin-right: 5px" class="button" onclick="location.href='<c:url value="/editOrderShippingInfo"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" class="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<script type="text/javascript">
    highlightTableRows("orderShippingInfoList");
</script>